<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./js/vue.js"></script>
</head>
<body>
    <div id="app">
        {{message}}
        {{awda}}
        {{user.name}} {{user.sex}}
        {{user.age=="18"}}
        {{user.status=='0'?'禁用':'启用'}}
    </div>
</body>
</html>
<script>
    var app = new Vue({
        el: '#app',
        data: {
            message: 'Hello Vue!',
            awda:'123',
            user:{
                name:"小丁丁",
                sex:'女',
                age:18,
                status:0
            }
        }
    })
</script>